Skip to main content

user

Customer record

GraphQL Schema

extend type query {
"""Customer record"""
user(
"""The id of the user"""
userId: ID!
): User
}

Arguments

NameTypeDescription
userIdID!The id of the user

Response Shape

This query returns User

NameTypeDescription
idID!External auth ID
nameStringCustomer's name
emailStringCustomer's email
referralSourceStringThe source of the customer's referral - for analytics and customisation of the ongoing journey
userTypeStringThe type of user - for analytics and customisation of the ongoing journey